gtk4.git
16 years agoMove new draw_drawable argument to end to make it more backwards compat
Alexander Larsson [Wed, 1 Jul 2009 14:13:31 +0000 (16:13 +0200)]
Move new draw_drawable argument to end to make it more backwards compat

16 years agoClean up embedding api
Alexander Larsson [Wed, 1 Jul 2009 12:36:36 +0000 (14:36 +0200)]
Clean up embedding api

we now use gdk_offscreen_window_set_embedder() instead of a signal
to get the parent. This also replaces set_has_offscreen_changes.

Rename "parent" in all embedding related names to "embedder" to make it
more obviously different than the normal parent.

Rename gdk_window_get_offscreen_pixmap to gdk_offscreen_window_get_pixmap
to match the other offscreen calls.

Rename gdk_window_offscreen_children_changed to gdk_window_geometry_changed
as this is more descriptive.

16 years agoRemove debug spew, add TODO_CSW
Alexander Larsson [Wed, 1 Jul 2009 11:33:45 +0000 (13:33 +0200)]
Remove debug spew, add TODO_CSW

16 years agogdk_win32_blit, don't get the size of the impl
Alexander Larsson [Wed, 1 Jul 2009 11:33:06 +0000 (13:33 +0200)]
gdk_win32_blit, don't get the size of the impl

16 years agoSome win32 cleanups
Alexander Larsson [Wed, 1 Jul 2009 10:06:57 +0000 (12:06 +0200)]
Some win32 cleanups

16 years agoFix win32 GC set_region handling of reset_region
Alexander Larsson [Wed, 1 Jul 2009 10:06:04 +0000 (12:06 +0200)]
Fix win32 GC set_region handling of reset_region

16 years agoMake win32 backend build and minimally work
Alexander Larsson [Wed, 1 Jul 2009 08:26:37 +0000 (10:26 +0200)]
Make win32 backend build and minimally work

16 years agoDon't use GDK_WINDOW_SCREEN, as its an X11 specific macro
Alexander Larsson [Wed, 1 Jul 2009 08:23:29 +0000 (10:23 +0200)]
Don't use GDK_WINDOW_SCREEN, as its an X11 specific macro

16 years agoDon't return value from void function
Alexander Larsson [Wed, 1 Jul 2009 08:11:15 +0000 (10:11 +0200)]
Don't return value from void function

This fixes the previous commit where the return value was removed.

16 years agoAdd missing symbols to gdk.symbols
Alexander Larsson [Tue, 30 Jun 2009 10:40:51 +0000 (12:40 +0200)]
Add missing symbols to gdk.symbols

16 years agoAdd gdk_window_get_root_coords to gdk.symbols
Alexander Larsson [Tue, 30 Jun 2009 08:55:06 +0000 (10:55 +0200)]
Add gdk_window_get_root_coords to gdk.symbols

16 years agoMove destroyed check to common code for get_origin & get_root_coords
Alexander Larsson [Tue, 30 Jun 2009 07:30:53 +0000 (09:30 +0200)]
Move destroyed check to common code for get_origin & get_root_coords

Also remove weird return value from get_root_coords

16 years agoDon't hide foreign children when emulating visibility
Alexander Larsson [Fri, 26 Jun 2009 18:11:57 +0000 (20:11 +0200)]
Don't hide foreign children when emulating visibility

We emulate visibility by unmapping (in X) all mapped (according to
gdk) windows that are not visible (all parents mapped). This is because
there may be client side windows inbetween the native windows in the
hierarchy, so you can't know a native window is visible just because
all the parent native windows are mapped.

However, we don't want to unmap foreign windows, as that may cause all
sort of unexpected issues. This should be safe, because generally the
parent of a foreign window is a native window (e.g. a socket), so its
gdk visibility state is the same as the Xserver one.

This fixes an issue with the GDM notification area where the unmap of
the plug caused spurious UnmapNotify events that confused GtkSocket and
caused icons to become one pixel wide.

16 years agoBetter implementation of native clear_area
Alexander Larsson [Fri, 26 Jun 2009 15:07:24 +0000 (17:07 +0200)]
Better implementation of native clear_area

Last commit was bad, as it didn't clip against client side
children. This implements such clipping first and then
only clears the rectangles that need to be cleared.

16 years agoImplement gdk_window_clear_area natively for foreign windows
Alexander Larsson [Fri, 26 Jun 2009 13:45:53 +0000 (15:45 +0200)]
Implement gdk_window_clear_area natively for foreign windows

This fixes a redraw issue with the notification area in xfce4.

16 years agoClip cairo drawing against client-side child windows
Alexander Larsson [Fri, 26 Jun 2009 12:20:05 +0000 (14:20 +0200)]
Clip cairo drawing against client-side child windows

This is how cairo works with native children.
This fixes an issue where the drag target outline is visible on the
evolution folder treeview when it isn't with native windows.

16 years agoEnsure that we always calculate clip regions for root windows
Alexander Larsson [Thu, 25 Jun 2009 14:59:18 +0000 (16:59 +0200)]
Ensure that we always calculate clip regions for root windows

Without this we can't draw to them, which caused problems for e.g.
gnome-settings-daemon clearing the background when the desktop
background changed.

Note: We don't actually clip away child windows from the root window,
the clip is just based on the size of the root window.

16 years agoFix g_signal_emit calls
Alexander Larsson [Thu, 25 Jun 2009 14:57:13 +0000 (16:57 +0200)]
Fix g_signal_emit calls

The switch to g_signal_emit was all messed up, I forgot to add signals[]
around the signal enum and did not pass in the detail quark.

16 years agoFix typos
Alexander Larsson [Wed, 24 Jun 2009 18:59:29 +0000 (20:59 +0200)]
Fix typos

16 years agoFactor out common code to sync_native_window_stack_position
Alexander Larsson [Wed, 24 Jun 2009 18:56:05 +0000 (20:56 +0200)]
Factor out common code to sync_native_window_stack_position

16 years agoRemove old obsolete comment
Alexander Larsson [Wed, 24 Jun 2009 18:35:15 +0000 (20:35 +0200)]
Remove old obsolete comment

16 years agoUse g_signal_emit instead of g_signal_emit_by_name when possible
Alexander Larsson [Wed, 24 Jun 2009 18:33:13 +0000 (20:33 +0200)]
Use g_signal_emit instead of g_signal_emit_by_name when possible

16 years agoRename accumulate_get_parent to accumulate_get_window
Alexander Larsson [Wed, 24 Jun 2009 18:25:40 +0000 (20:25 +0200)]
Rename accumulate_get_parent to accumulate_get_window

This function is used in several places, not just get_parent

16 years agoSimplify _gdk_display_get_last_pointer_grab using g_list_last
Alexander Larsson [Wed, 24 Jun 2009 18:20:33 +0000 (20:20 +0200)]
Simplify _gdk_display_get_last_pointer_grab using g_list_last

16 years agoUpdate _gdk_windowing_pointer_grab
Richard Hult [Sat, 20 Jun 2009 09:37:05 +0000 (11:37 +0200)]
Update _gdk_windowing_pointer_grab

16 years agoRemove duplicate definition of GdkInputWindow
Richard Hult [Sat, 20 Jun 2009 09:20:03 +0000 (11:20 +0200)]
Remove duplicate definition of GdkInputWindow

16 years agoUpdate gdk_window_quartz_show, ..._get_origin, ..._get_pointer
Richard Hult [Sat, 20 Jun 2009 09:17:15 +0000 (11:17 +0200)]
Update gdk_window_quartz_show, ..._get_origin, ..._get_pointer

16 years agoRename gdk_window_beep to _gdk_windowing_window_beep
Richard Hult [Sat, 20 Jun 2009 08:31:53 +0000 (10:31 +0200)]
Rename gdk_window_beep to _gdk_windowing_window_beep

16 years agoCorrect a couple of typos
Matthias Clasen [Fri, 19 Jun 2009 13:14:18 +0000 (09:14 -0400)]
Correct a couple of typos

16 years agoFix spelling of synthesize
Alexander Larsson [Thu, 18 Jun 2009 18:58:13 +0000 (20:58 +0200)]
Fix spelling of synthesize

16 years agoMerge branch 'master' into client-side-windows
Alexander Larsson [Wed, 17 Jun 2009 10:56:05 +0000 (12:56 +0200)]
Merge branch 'master' into client-side-windows

This updates client-side-windows to the the latest soname
change for easier testing.

Conflicts:
gdk/x11/gdkwindow-x11.c
tests/Makefile.am

16 years agofix compile warnings
Benjamin Otte [Wed, 17 Jun 2009 08:28:03 +0000 (10:28 +0200)]
fix compile warnings

Fallout from running make CFLAGS="-Werror"; mostly missing casts and
constness issues.

16 years agoDon't reset window hints when showing multiple times
Alexander Larsson [Tue, 16 Jun 2009 19:34:37 +0000 (21:34 +0200)]
Don't reset window hints when showing multiple times

gdk_window_show() should only set the initial hints on the first
run, not if the window is already mapped when gdk_window_show is
called.

16 years agoUpdated Swedish translation
Daniel Nylander [Tue, 16 Jun 2009 19:04:18 +0000 (21:04 +0200)]
Updated Swedish translation

16 years agoUse g_return_val_if_fail instead of g_return_if_fail
Vincent Untz [Tue, 16 Jun 2009 15:34:10 +0000 (17:34 +0200)]
Use g_return_val_if_fail instead of g_return_if_fail

16 years agoMore uses of the get_cell_renderers functions
Matthias Clasen [Tue, 16 Jun 2009 16:37:33 +0000 (12:37 -0400)]
More uses of the get_cell_renderers functions

16 years agoMore instances of those deprecated functions
Matthias Clasen [Tue, 16 Jun 2009 16:21:36 +0000 (12:21 -0400)]
More instances of those deprecated functions

16 years agoForgot one use in libgail
Matthias Clasen [Tue, 16 Jun 2009 15:48:16 +0000 (11:48 -0400)]
Forgot one use in libgail

16 years agoDon't use deprecated api internally
Matthias Clasen [Tue, 16 Jun 2009 15:27:06 +0000 (11:27 -0400)]
Don't use deprecated api internally

16 years agoBump version to 2.17.3
Matthias Clasen [Tue, 16 Jun 2009 01:48:53 +0000 (21:48 -0400)]
Bump version to 2.17.3

16 years ago2.17.2
Matthias Clasen [Tue, 16 Jun 2009 01:45:40 +0000 (21:45 -0400)]
2.17.2

16 years agoUpdate NEWS
Matthias Clasen [Tue, 16 Jun 2009 00:46:34 +0000 (20:46 -0400)]
Update NEWS

16 years agoAdd missing GtkInfoBar functions to the docs
Matthias Clasen [Tue, 16 Jun 2009 00:07:37 +0000 (20:07 -0400)]
Add missing GtkInfoBar functions to the docs

16 years agoDon't export a private function
Matthias Clasen [Tue, 16 Jun 2009 00:05:49 +0000 (20:05 -0400)]
Don't export a private function

16 years agoFix docs build
Matthias Clasen [Tue, 16 Jun 2009 00:05:24 +0000 (20:05 -0400)]
Fix docs build

16 years agoProperly export gtk_info_bar_response
Matthias Clasen [Tue, 16 Jun 2009 00:04:48 +0000 (20:04 -0400)]
Properly export gtk_info_bar_response

Also fix up its docs.

16 years agoCleanup some translation handling
Matthias Clasen [Mon, 15 Jun 2009 22:04:49 +0000 (18:04 -0400)]
Cleanup some translation handling

Use g_*gettext functions in gdk-pixbuf instead direct gettext
calls to benefit from the maybe-dont-translate functionality
in GLib. Also, replace a hand-rolled version by g_dpgettext2
in gtkbuilderparser.c. Fixes bug 585791.

16 years agoFix the docs for gtk_recent_info_get_application_info()
Matthias Clasen [Mon, 15 Jun 2009 21:22:58 +0000 (17:22 -0400)]
Fix the docs for gtk_recent_info_get_application_info()

The documentation for the function says that the app_exec string
should be freed, but we return a pointer to the internal string
without duplicating it. Since the app_exec string is valid as long
as the GtkRecentInfo is valid the documentation should be fixed
and the out argument should be constified. Fixes #584832.

16 years agoAdd some more font sizes
Matthias Clasen [Mon, 15 Jun 2009 21:19:43 +0000 (17:19 -0400)]
Add some more font sizes

Make 15 and 17 available in the list. See bug 585371

16 years agoDeprecate get_cell_renderers implementations
Matthias Clasen [Mon, 15 Jun 2009 21:11:14 +0000 (17:11 -0400)]
Deprecate get_cell_renderers implementations

These have been superseded by gtk_cell_layout_get_cells.
Fixes bug 562335.

16 years agoTerminate case with break in switch statement
Daniel Elstner [Sat, 13 Jun 2009 23:14:00 +0000 (01:14 +0200)]
Terminate case with break in switch statement

* gtk/gtkstatusicon.c (gtk_status_icon_set_property): Add missing
break statements to unterminated case blocks inside switch.

16 years agoBug 565317 - Resulting image of GtkCellRendererPixbuf depends on order of set properties
Matthias Clasen [Mon, 15 Jun 2009 19:10:34 +0000 (21:10 +0200)]
Bug 565317 - Resulting image of GtkCellRendererPixbuf depends on order of set properties

(gtk_cell_renderer_pixbuf_set_property): add back evil code that makes
sure that the current image is only unset if the new image was created
from the same property or the new property is not NULL.

16 years agobgo#580560 - Make Backspace work in the file chooser to to to the parent directory
Federico Mena Quintero [Mon, 15 Jun 2009 17:37:07 +0000 (12:37 -0500)]
bgo#580560 - Make Backspace work in the file chooser to to to the parent directory

GtkFileChooserDefault actually implements a binding signal for
Backspace, to make it go to the parent directory.  However,
GtkTreeView was eating our Backspace, and thus the file chooser was
not getting a chance to execute its binding signal.

GtkTreeView implements a Backspace binding itself, which it uses to
move to the parent node of the current cursor node.  However, the
binding handler would return TRUE even if there was no parent to the
current node.  Now the binding handler only returns TRUE if it
actually changed the cursor.

Additionally, gtk_tree_view_key_press() sees if no bindings handled a
key press; in that case, it re-sends the key press to the treeview's
search entry.  However, sending a Backspace to an empty entry makes
the entry beep.  Thus, we add a flag that gets set from GtkTreeView's
Backspace binding handler, to tell gtk_tree_view_key_press() when it
should *not* re-emit the key press on the search entry.  Sort of,
"yeah, I didn't handle this key press, but I don't want you to send it
to the search entry, either!".

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoAdd entry about xdg user dir icons
Matthias Clasen [Mon, 15 Jun 2009 05:50:27 +0000 (01:50 -0400)]
Add entry about xdg user dir icons

16 years agoMerge branch 'button-box-orientable-584598'
Davyd Madeley [Mon, 15 Jun 2009 01:48:14 +0000 (09:48 +0800)]
Merge branch 'button-box-orientable-584598'

16 years agoSupport GtkOrientable for GtkButtonBox
Davyd Madeley [Tue, 2 Jun 2009 12:01:19 +0000 (20:01 +0800)]
Support GtkOrientable for GtkButtonBox

Edit: Update for coding style

16 years agoTestcase for GtkOrientable
Davyd Madeley [Tue, 2 Jun 2009 10:58:10 +0000 (18:58 +0800)]
Testcase for GtkOrientable

16 years agoUpdated Spanish translation
Jorge Gonzalez [Sat, 13 Jun 2009 11:21:01 +0000 (13:21 +0200)]
Updated Spanish translation

16 years agobgo#484922 - Remember the sort column and order in the file chooser
Benjamin Gramlich [Fri, 12 Jun 2009 22:31:28 +0000 (17:31 -0500)]
bgo#484922 - Remember the sort column and order in the file chooser

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoAdd load/save functions for the sort column order in GtkFileChooserSettings
Benjamin Gramlich [Fri, 12 Jun 2009 21:40:25 +0000 (16:40 -0500)]
Add load/save functions for the sort column order in GtkFileChooserSettings

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoAdd an --initial-folder option to testfilechooser.c
Federico Mena Quintero [Fri, 12 Jun 2009 19:09:47 +0000 (14:09 -0500)]
Add an --initial-folder option to testfilechooser.c

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoAdd an --initial-filename option to testfilechooser.c
Federico Mena Quintero [Fri, 12 Jun 2009 19:02:37 +0000 (14:02 -0500)]
Add an --initial-filename option to testfilechooser.c

We can use this to test bugs that happen when setting a filename before the
file chooser is shown, as in bgo#161670

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoFix compiler warnings
Federico Mena Quintero [Fri, 12 Jun 2009 18:59:29 +0000 (13:59 -0500)]
Fix compiler warnings

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agobgo#562579 - Don't show errors when the initial folder does not exist
Milan Bouchet-Valat [Fri, 12 Jun 2009 18:25:26 +0000 (13:25 -0500)]
bgo#562579 - Don't show errors when the initial folder does not exist

The previous patch for this bug was about the initial *file* not existing,
but this also handles the initial *folder* not existing
(such as /usr/nonexistent/nonexistent.txt).

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agobgo#171416 - Don't create a folder with the default name 'Type name of new folder'
Milan Bouchet-Valat [Fri, 12 Jun 2009 16:45:43 +0000 (11:45 -0500)]
bgo#171416 - Don't create a folder with the default name 'Type name of new folder'

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoAdd a missing newline
Matthias Clasen [Fri, 12 Jun 2009 14:21:42 +0000 (10:21 -0400)]
Add a missing newline

There was a missing newline in one of the g_printerr messages
in updateiconcache.c. String change.

16 years agoRemove ununsed variables
Alexander Larsson [Fri, 12 Jun 2009 10:47:20 +0000 (12:47 +0200)]
Remove ununsed variables

16 years agoAlways return FALSE from idle callback to avoid loop
Alexander Larsson [Fri, 12 Jun 2009 10:45:31 +0000 (12:45 +0200)]
Always return FALSE from idle callback to avoid loop

In the destroyed window case in do_synthesize_crossing_event we didn't
return a value which can cause infinite "loops". Always return FALSE
to make sure the idle doesn't run again.

16 years agobgo#355851 - Hide backup files in the file chooser
Milan Bouchet-Valat [Fri, 12 Jun 2009 00:58:51 +0000 (19:58 -0500)]
bgo#355851 - Hide backup files in the file chooser

Backup files are hidden along with dotfiles, just like Nautilus.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agobgo#486839 - The path bar's area shouldn't change vertical size to avoid the browse...
Milan Bouchet-Valat [Thu, 11 Jun 2009 23:41:05 +0000 (18:41 -0500)]
bgo#486839 - The path bar's area shouldn't change vertical size to avoid the browse widgets jumping

We now use a GtkSizeGroup to control the vertical size of the various widgets
that get put in the path bar's area:  the location bar, the search entry,
the recently-used title label.

This keeps the shortcuts pane and the file list from jumping up and down
when one switches between operation modes (browse/search/recently-used).

Signed-off-by: Federico Mena Quintero <federico@novell.com>
16 years agoHandle gdk_window_beep on offscreen windows
Alexander Larsson [Thu, 11 Jun 2009 20:11:48 +0000 (22:11 +0200)]
Handle gdk_window_beep on offscreen windows

16 years agoHandle the window being destroyed in do_synthesize_crossing_event
Alexander Larsson [Thu, 11 Jun 2009 19:56:02 +0000 (21:56 +0200)]
Handle the window being destroyed in do_synthesize_crossing_event

This can happen since we ref the window and do the function in an idle.

16 years agoSend crossing event due to geometry change in idle
Alexander Larsson [Thu, 11 Jun 2009 19:49:17 +0000 (21:49 +0200)]
Send crossing event due to geometry change in idle

Doing this directly had some issues with picking going recursive in
clutter-gtk. Furthermore, doing it in an idle means we can coalesce
multiple calls (which is common due to widget changes) in the same
toplevel to just one call.

16 years agoAdd gdk_window_offscreen_children_changed call
Alexander Larsson [Thu, 11 Jun 2009 10:06:01 +0000 (12:06 +0200)]
Add gdk_window_offscreen_children_changed call

You can call this if you have offscreen children and the geometry of
them changed. This will cause re-picking of the active window sending
enter and leave events as needed.

16 years agoUpdated Spanish translation
Jorge Gonzalez [Thu, 11 Jun 2009 07:24:31 +0000 (09:24 +0200)]
Updated Spanish translation

16 years agoUpdated Spanish translation
Jorge Gonzalez [Thu, 11 Jun 2009 07:24:26 +0000 (09:24 +0200)]
Updated Spanish translation

16 years agoAdd a long description for GtkSettings
Matthias Clasen [Thu, 11 Jun 2009 05:28:39 +0000 (01:28 -0400)]
Add a long description for GtkSettings

Among other things, the description mentions the problem in
bug 585024, that some settings may not be available before the
widget class has been realized.

16 years agoAdded entries for Hindi Translation updated by Rajesh Ranjan
Manoj Kumar Giri [Wed, 10 Jun 2009 14:23:08 +0000 (19:53 +0530)]
Added entries for Hindi Translation updated by Rajesh Ranjan

16 years agoUpdated Hindi Translation on behalf of Rajesh Ranjan
Manoj Kumar Giri [Wed, 10 Jun 2009 14:21:40 +0000 (19:51 +0530)]
Updated Hindi Translation on behalf of Rajesh Ranjan

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 10 Jun 2009 07:50:37 +0000 (09:50 +0200)]
Updated Norwegian bokmål translation.

16 years agoUpdating Estonian translation
Ivar Smolin [Tue, 9 Jun 2009 20:00:46 +0000 (23:00 +0300)]
Updating Estonian translation

16 years agoFix "srdcir" typo
Christian Persch [Sun, 7 Jun 2009 20:06:51 +0000 (22:06 +0200)]
Fix "srdcir" typo

16 years agoUpdated Bengali India Translations
Runa Bhattacharjee [Tue, 9 Jun 2009 04:54:18 +0000 (10:24 +0530)]
Updated Bengali India Translations

16 years agoUse gdk_window_get_root_cords to get popup position for combobox
Alexander Larsson [Mon, 8 Jun 2009 15:05:51 +0000 (17:05 +0200)]
Use gdk_window_get_root_cords to get popup position for combobox

This makes us handle transformed offscreen widgets much better.

16 years agoAdd gdk_window_get_root_coords
Alexander Larsson [Mon, 8 Jun 2009 15:03:47 +0000 (17:03 +0200)]
Add gdk_window_get_root_coords

We want to be able to map any window coordinate to a root coordinate, not
just the origin, because you can't rely anymore on a simple translation
from window coordinates to parent with offscreen windows. This lets
us e.g. pop up menus in the right place even if they are popped up from
a no-window widget.

16 years agoUpdate event emulation to handle offscreen children
Alexander Larsson [Mon, 8 Jun 2009 13:57:59 +0000 (15:57 +0200)]
Update event emulation to handle offscreen children

We use the offscreen signals for getting parent, picking
children at a point and mapping coordinates between windows
embedding offscreens and offscreens.

This means we have two hierarchies more or less, one visible to apps via
the standard APIs and for drawing where the offscreens are their own
separate toplevels, and another one for event handling where embedded
offscreens appear as if they were children of the embedding window.

16 years agoImplement the new offscreen signals in GtkOffscreenBox
Alexander Larsson [Thu, 4 Jun 2009 18:16:51 +0000 (20:16 +0200)]
Implement the new offscreen signals in GtkOffscreenBox

This implements get-offscreen-parent, pick-offscreen-child,
to-parent and from-parent signals for GtkOffscreenBox

16 years agoBase pointer grab on get-offscreen-parent
Alexander Larsson [Fri, 5 Jun 2009 12:50:58 +0000 (14:50 +0200)]
Base pointer grab on get-offscreen-parent

16 years agoImplement offscreen get_pointer with offscreen signals
Alexander Larsson [Mon, 8 Jun 2009 17:38:15 +0000 (19:38 +0200)]
Implement offscreen get_pointer with offscreen signals

16 years agoAdd signals for offscreen window embedding
Alexander Larsson [Thu, 4 Jun 2009 18:15:29 +0000 (20:15 +0200)]
Add signals for offscreen window embedding

3 signals are for offscreen windows
get-offscreen-parent: Get the parent window an offscreen is embedded in
to-parent: Convert coordinates from offscreen to parent
from-parent: Convert coordinates from parent to offscreen

1 signal is for the window embedding offscreens:
pick-offscreen-child: This picks what (if any) offscreen is at a specific position

The last signal is only used if you call gdk_window_set_has_offscreen_children
to tell gdk that the window has embedded offscreen children.
Add get-pointer signal for offscreen window pointer getting

Apps using offscreen windows can connect to get-pointer on offscreen
windows in order to make gdk_window_get_pointer() return correct
values.

Add get-offscreen-parent signal

Add signals for from-parent and to-parent coordinate mapping

Add pick-offscreen-child signal

16 years agoUpdate docs to match actual API
Matthias Clasen [Mon, 8 Jun 2009 13:54:59 +0000 (09:54 -0400)]
Update docs to match actual API

Remove references to gtk_info_bar_set_contents(), and update
the example to use gtk_info_bar_get_content_area().

16 years agoUpdated Oriya Translation
Manoj Kumar Giri [Mon, 8 Jun 2009 14:05:26 +0000 (19:35 +0530)]
Updated Oriya Translation

16 years agoAdd ability to print selection
Marek Kasik [Mon, 8 Jun 2009 13:37:32 +0000 (15:37 +0200)]
Add ability to print selection

Add a new radio button "Selection" to the print dialog. Its presence
depends on calling of functions gtk_print_operation_set_support_selection()
and gtk_print_dialog_unix_set_support_selection().
Sensitivity of the radio depends on calling of
functions gtk_print_operation_set_has_selection() and
gtk_print_dialog_unix_set_has_selection().
There are new properties GtkPrintUnixDialog::support-selection,
GtkPrintUnixDialog::has-selection, GtkPrintOperation::support-selection
and GtkPrintOperation::has-selection. Corresponding getters are
gtk_print_dialog_unix_get_support_selection(),
gtk_print_dialog_unix_get_has_selection(),
gtk_print_operation_get_support_selection() and
gtk_print_operation_get_has_selection().
Application has to set number of pages to which the selection will be formated
in GtkPrintOperation::begin-print's callback by the
gtk_print_operation_set_n_pages() function (bug #344519).
There is also new property GtkPrintUnixDialog::manual-capabilities controled by
gtk_print_unix_dialog_set_manual_capabilities() and
gtk_print_unix_dialog_get_manual_capabilities().

16 years agoUpdating Estonian translation
Mattias Põldaru [Mon, 8 Jun 2009 08:52:27 +0000 (11:52 +0300)]
Updating Estonian translation

16 years agoDon't grab the keyboard during DND
Matthias Clasen [Mon, 8 Jun 2009 02:19:52 +0000 (22:19 -0400)]
Don't grab the keyboard during DND

Instead use passive grabs for the few keys we care about.
With a corresponding metacity change, this will allow workspace
switching and focus cycling during DND, which is very useful.
Fixes bug 390312.

16 years agoHalt configure if selected cairo backend is missing, fixes Bug 565998
Björn Lindqvist [Sat, 30 May 2009 13:45:21 +0000 (15:45 +0200)]
Halt configure if selected cairo backend is missing, fixes Bug 565998

16 years agoRemove nonworking conditionals
Matthias Clasen [Sat, 6 Jun 2009 03:06:12 +0000 (23:06 -0400)]
Remove nonworking conditionals

Don't pretend that we care about XShape-less builds anymore.
See bug 584637.

16 years agoAvoid warnings in atom conversion
Matthias Clasen [Sat, 6 Jun 2009 02:36:48 +0000 (22:36 -0400)]
Avoid warnings in atom conversion

Cave in and revert to silently converting GDK_NONE to None.
Fixes bug 580511.

16 years agoDon't unselect when resizing
Matthias Clasen [Sat, 6 Jun 2009 00:11:44 +0000 (20:11 -0400)]
Don't unselect when resizing

This was causing problems in Epiphany. Fixes bug 584805.

16 years agoUpdate NEWS for GtkInfoBar
Matthias Clasen [Fri, 5 Jun 2009 19:01:00 +0000 (15:01 -0400)]
Update NEWS for GtkInfoBar